home *** CD-ROM | disk | FTP | other *** search
- /*
- DUFTP
- */
-
- // Global Variables
-
- #ifndef _DUFTP_GLOBAL_
- #define _DUFTP_GLOBAL_
- #include <DULIB.H>
- #include <SETJMP.H>
- #include "ls2filel.h"
-
- #define mev_QUIT 5000 //Quit event generated by quit in file menu
- #define mev_SELBOOKMARK 5001 //Select a server from the bookmark scrolling list
- #define mev_REMOTEFILE 5002 //A remote file has been clicked on
- #define mev_CHANGEREMOTEDIR 5003 //A change the remote directory (dc on remote file)
- #define mev_STOPTRANSFER 5004 //Abort a transfer part way through
- #define mev_LOCALFILE 5005 //A local file has been clicked on
- #define mev_CHANGELOCALDIR 5006 //A change the local directory (dc on local file)
-
- extern char *initial_dir; // Programs startup directory
- extern jmp_buf recover_main; // Jump back into main from a signal handler
- extern file_list *remote_directory; // List of files in current remote directory
- extern file_list *local_directory; // List of files in current local directory
- extern char **remote_files; // Array of just the filenames of the remote files
- extern char **local_files; // Array of just the filenames of the local files
- extern short file_count; // How many files are there in the remote list?
- extern char current_local_path[FMSIZE]; // Where we are in the local filesystem
- extern short local_file_count; // Number of entries in the local filesystem
- extern char new_server_address[50]; // Address for a new server
- extern char new_server_login[50]; // Login for a new server
- extern char new_server_password[50]; // Password for a new server
- extern char new_server_path[FMSIZE]; // Initial path for a new server
-
- #endif